.class Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;
.super Ljava/lang/Object;
.source "MessagesActivity.java"

# interfaces
.implements Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener2;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener2",
        "<",
        "Landroid/widget/ListView;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    .prologue
    .line 136
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPullDownToRefresh(Lcom/handmark/pulltorefresh/library/PullToRefreshBase;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/handmark/pulltorefresh/library/PullToRefreshBase",
            "<",
            "Landroid/widget/ListView;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 140
    .local p1, "refreshView":Lcom/handmark/pulltorefresh/library/PullToRefreshBase;, "Lcom/handmark/pulltorefresh/library/PullToRefreshBase<Landroid/widget/ListView;>;"
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    const/4 v1, 0x1

    # setter for: Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I
    invoke-static {v0, v1}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->access$202(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;I)I

    .line 141
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->fetchData()V
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->access$300(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V

    .line 142
    return-void
.end method

.method public onPullUpToRefresh(Lcom/handmark/pulltorefresh/library/PullToRefreshBase;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/handmark/pulltorefresh/library/PullToRefreshBase",
            "<",
            "Landroid/widget/ListView;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 146
    .local p1, "refreshView":Lcom/handmark/pulltorefresh/library/PullToRefreshBase;, "Lcom/handmark/pulltorefresh/library/PullToRefreshBase<Landroid/widget/ListView;>;"
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mHasNext:Z
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->access$400(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Z

    move-result v0

    if-nez v0, :cond_1f

    .line 147
    const v0, 0x7f0c0092

    invoke-static {v0}, Lcom/brixd/niceapp/util/ToastUtils;->show(I)V

    .line 149
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mHandler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->access$500(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4$1;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4$1;-><init>(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;)V

    const-wide/16 v2, 0xc8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 162
    :goto_1e
    return-void

    .line 160
    :cond_1f
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    # operator++ for: Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->mCurrentPage:I
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->access$208(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)I

    .line 161
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->fetchData()V
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;->access$300(Lcom/brixd/niceapp/userinfo/activity/MessagesActivity;)V

    goto :goto_1e
.end method
